package com.jichangxiu.server.platform.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * PlatformDeptDto:
 *
 * @author Jcx
 * @create 2023-03-26 8:57
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "部门实体")
public class PlatformDeptQueryDto {

    @Schema(description = "部门ID")
    private String deptId;

    @Schema(description = "部门编号")
    private String deptNo;

    @Schema(description = "部门标识")
    private String deptCode;

    @Schema(description = "部门名称")
    private String deptName;

    @Schema(description = "父部门ID")
    private String parentId;

    @Schema(description = "负责人ID")
    private String leaderUserId;

    @Schema(description = "负责人名称")
    private String leaderUserName;

    @Schema(description = "部门联系电话")
    private String phone;

    @Schema(description = "部门邮箱")
    private String email;

    @Schema(description = "排序")
    private Double sort;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态（false停用 true正常）")
    private Boolean status;

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间")
    private Date updateTime;

}
